//
//  LBXOSHud.h
//  MacDevTest
//
//  Created by 夏利兵 on 2020/8/5.
//  Copyright © 2020 com.lbx. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>


typedef NS_ENUM(NSInteger, LBXOSHudPostion) {
    LBXOSHudPostion_Top,
    LBXOSHudPostion_Bottom,
    LBXOSHudPostion_Center
};

typedef NS_ENUM(NSInteger, LBXOSHudStyle) {
    LBXOSHudStyle_Dark,
    LBXOSHudStyle_Light
};

typedef NS_ENUM(NSInteger, LBXOSHudFont) {
    LBXOSHudFont_Large,
    LBXOSHudFont_Medium,
    LBXOSHudFont_Small
};

@interface LBXOSHud : NSObject


+ (void)showScreenToastWithMessage:(NSString*)message
                             style:(LBXOSHudStyle)style
                              font:(LBXOSHudFont)font
                             delay:(NSInteger)delaySeconds;


+ (void)showKeyWindowToastWithMessage:(NSString*)message
                                style:(LBXOSHudStyle)style
                                 font:(LBXOSHudFont)font
                                delay:(NSInteger)delaySeconds;

+ (void)showToastWithWindow:(NSWindow*)window
                    message:(NSString*)message
                    postion:(LBXOSHudPostion)position
                      style:(LBXOSHudStyle)style
                       font:(LBXOSHudFont)font
                      delay:(NSInteger)delaySeconds;


+ (void)showWaitHudWithWindow:(NSWindow*)window
                      message:(NSString*)message
                      postion:(LBXOSHudPostion)position
                        style:(LBXOSHudStyle)style;


+ (void)hideAllWaitingHud;



@end


